<%@ include file="/WEB-INF/views/include.jsp"%>
<div id="modal-edit-user" class="modal hide fade">
	
	<div class="modal-header">
		
		<a href="#" class="close">&times;</a>
		<h3>Edit Information User</h3>
	</div>
	<div class="modal-body">
		<form:form method="post" action="edit-user" commandName="user">
				<div class="login-error">${error}</div>
		 		<form:hidden id="id" path="id"/>
			    <table>
				<tr>
			        <td><form:label path="username">Username:</form:label></td>
			        <td><form:input path="username" disabled="true"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="firstName">First Name:</form:label></td>
			        <td><form:input path="firstName"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="lastName">Last Name:</form:label></td>
			        <td><form:input path="lastName"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="email">Email:</form:label></td>
			        <td><form:input path="email" disabled="true"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="street"><fmt:message key="user.form.address"/>:</form:label></td>
			        <td><form:input path="street"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="city"><fmt:message key="user.form.city"/>:</form:label></td>
			        <td><form:input path="city"></form:input></td>
			    </tr>
			     <tr>
			        <td><form:label path="country"><fmt:message key="user.form.country"/>:</form:label></td>
			        <td><form:input path="country"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="state"><fmt:message key="user.form.state"/>:</form:label></td>
			        <td><form:input path="state"></form:input></td>
			    </tr>
			    <tr>
			        <td><form:label path="telephone"><fmt:message key="user.form.telephone"/>:</form:label></td>
			        <td><form:input path="telephone"></form:input></td>
			    </tr>
			    </table> 
	</div>
	<div class="modal-footer">
		<a href="#" onclick="closeModel('#modal-edit-user')" class="btn danger">Close</a>
	 	<input class="btn success" type="submit" value="Submit"/>
		</form:form>
	</div>
	
</div>
